package com.sean.designpatterns.structure.chainofResponsibility;

public class Main {
    public static void main(String[] args) {
       AbstractLogger loggerchain = LoggerChain.getChain();
        loggerchain.logMessage(AbstractLogger.INFO,"info");
        loggerchain.logMessage(AbstractLogger.ERROR,"error");
        loggerchain.logMessage(AbstractLogger.DEBUG,"debug");
        loggerchain.logMessage(AbstractLogger.INFO,"info");
        loggerchain.logMessage(AbstractLogger.ERROR,"error");

    }
}
